import request from '../utils/request'

export default{
  //获取讲师分页
  pageList(current,size){
    return request({
      url:`/teacher/getPageList/${current}/${size}`,
      method:'get'
    })
  },

  //根据讲师id获取讲师详情信息
  getById(id){
    return request({
      url:`/teacher/getDetailById/${id}`,
      method:'get'
    })
  }

}
